package cure.fuzzy.util;

import java.util.Comparator;

public class XYComparator implements Comparator<XY> {
	@Override
	public int compare(XY xy1, XY xy2) {
		return (int) (xy1.getX() - xy2.getX());
	}
}
